]> dgit.raspbian.org Git - gnome-shell.git/commit
automount: add an AutomountManager class
authorCosimo Cecchi <cosimoc@gnome.org>
Mon, 20 Jun 2011 19:16:40 +0000 (15:16 -0400)
committerCosimo Cecchi <cosimoc@gnome.org>
Wed, 13 Jul 2011 18:39:35 +0000 (14:39 -0400)
commitacc053302d5520b56b28efabc3f14a02c61e6bcc
tree1c3f5df1cc7762aed8e6906122d2948c5afc3b12
parent534b371d422c69678c0a8c4772a9c65cf81ead10
automount: add an AutomountManager class

The AutomountManager class is the low-level counterpart of the
previously introduced AutorunManager, and takes care of extracting the
list of valid mounts from a GVolume or a GDrive and mounting them,
provided a number of conditions and requirements are met.

AutomountManager also keeps track of the current session availability
(using the ConsoleKit and gnome-screensaver DBus interfaces) and
inhibits mounting if the current session is locked, or another session
is in use instead.

https://bugzilla.gnome.org/show_bug.cgi?id=653520
js/Makefile.am
js/ui/automountManager.js [new file with mode: 0644]
js/ui/autorunManager.js
js/ui/main.js